#!/bin/bash
# usage = make path filename
# WARNING : filename = filename sans extension
# exemple : ./make.sh ./uploads/google/ google

path=$1
filename=$2

cd $path

latex $filename.tex
latex $filename.tex
latex $filename.tex
dvips $filename.dvi
ps2pdf $filename.ps

